<?php

/*
 *  This file is part of MetaMVC.
 * 
 *  MetaMVC is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 * 
 *  MetaMVC is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 * 
 *  You should have received a copy of the GNU General Public License
 *  along with MetaMVC.  If not, see <http://www.gnu.org/licenses/>.
 */
use MetaMVC\Framework\Routing;

// Loading requirements
require_once realpath(__DIR__ . "/Frameworks/MetaMVC/Routing/RouteProperties.php");
require_once realpath(__DIR__ . "/Frameworks/MetaMVC/Routing/Request.php");
require_once realpath(__DIR__ . "/Frameworks/MetaMVC/Routing/Route.php");
require_once realpath(__DIR__ . "/Frameworks/MetaMVC/Routing/RoutingTable.php");

// Setting routes
Routing\RoutingTable::add(new Routing\Route("/(hello)/", "index"));
Routing\RoutingTable::add(new Routing\Route("(.*?)"));
?>
